
#ifndef __KISUP_EXTEND_IBLOCK_TASK_H__
#define __KISUP_EXTEND_IBLOCK_TASK_H__

#include "common.h"
#include "iseqstream.h"

interface IBlockTask
	: public IKWrite
{
	virtual void OnBlockProgress(IN double dltotal,
								 IN double dlnow,
								 OUT BOOL& bBreak) = 0;

	virtual u_int GetStartPos() = 0;

	virtual u_int GetEndPos() = 0;
};

#endif // __KISUP_EXTEND_IDOWNLOAD_TASK_H__